import React, { PureComponent } from 'react'
import { Layout } from 'antd';

const { Content, Footer } = Layout;

class SimpleLayout extends PureComponent {
  render() {
    const { children } = this.props
    return (
      <Layout>
        {/* <Header style={{ position: 'fixed', zIndex: 1, width: '100%' }}>
          Header
        </Header> */}
        <Content>
          {children}
        </Content>
        <Footer style={{ position: 'fixed', zIndex: 1, width: '100', bottom: 0 }}>
          Footer
        </Footer>
      </Layout>
    );
  }
}

export default SimpleLayout